SftTree/OCX 7.0

SftTree.ForeColorOdd Property

Softel vdm, Inc.

Defines the text color used to draw items in odd rows.

Deprecated - Provided for compatibility with earlier versions only - Use Items.ForeColorOdd instead

Syntax       

Get

VB.NET

Clr = object.ForeColorOdd  As System.Drawing.ColorLanguage-specific information

VB

Clr = object.ForeColorOdd  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information Clr = object.ForeColorOdd;

VC++

OLE_COLOR Clr = object->ForeColorOdd;
OLE_COLOR Clr = object->GetForeColorOdd();

C

HRESULT object->get_ForeColorOdd(OLE_COLOR* Clr);

Delphi

Clr := object.ForeColorOdd  : TColor;

Put

VB.NET

object.ForeColorOdd = Clr  As System.Drawing.ColorLanguage-specific information

VB

object.ForeColorOdd = Clr  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information object.ForeColorOdd = Clr;

VC++

OLE_COLOR object->ForeColorOdd = Clr;
void object->PutForeColorOdd(OLE_COLOR Clr);

C

HRESULT object->put_ForeColorOdd(OLE_COLOR Clr);

Delphi

object.ForeColorOdd := Clr  : TColor;

object

A SftTree object.

Clr

Defines the text color used to draw items in odd rows.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.ForeColorOdd instead

The ForeColorOdd property defines the text color used to draw items in odd rows.

Columns can override the foreground color using the Column.ForeColor property.  Cells can override the foreground color using the Cell.ForeColor property.  If a selected item uses a selection style (Items.SelectStyle property) that uses the Items.SelectForeColor property for only portions of the item, the ForeColorOdd property is used for the remainder of the item.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com